package com.smallx.xpath;

import org.infoset.xml.XMLException;


public interface XPathCompiler {

   StaticContext getStaticContext();

   void setStaticContext(StaticContext context);

   XPathExpression compile(String expression)
      throws XMLException;
   
   XPathExpression compile(StaticContext context,String expression)
      throws XMLException;
   
   XPathMatcherFactory compileMatcher(String expression)
      throws XMLException;
   
   XPathMatcherFactory compileMatcher(StaticContext context,String expression)
      throws XMLException;
   
   
}
